package com.amos.log.configure.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * @ClassName : LogProperties
 * @Description : log配置文件
 * @Author : tianshuo
 * @Date: 2020-11-14 17:20
 */
@ConfigurationProperties("spring.tianshuo.log")
public class LogProperties {
    private String logName;

    private String aspectExpression;

    public String getLogName() {
        return logName;
    }

    public void setLogName(String logName) {
        this.logName = logName;
    }

    public String getAspectExpression() {
        return aspectExpression;
    }

    public void setAspectExpression(String aspectExpression) {
        this.aspectExpression = aspectExpression;
    }

    @Override
    public String toString() {
        return "LogProperties{" +
                "logName='" + logName + '\'' +
                ", aspectExpression='" + aspectExpression + '\'' +
                '}';
    }
}

